<div dojoType="dijit.PopupMenuBarItem">
	<span>File</span>
	<div dojoType="dijit.Menu" class="nihilo">
		<div dojoType="dijit.MenuItem" onClick="newProject" >New Project</div>
		<div dojoType="dijit.MenuItem" title="Open a previously saved project" onClick="viewProjects">Open Project</div>
		<div dojoType="dijit.MenuItem" onClick="uploadProject" title="Open a downloaded project">Upload Project File</div>
		<div dojoType="dijit.MenuItem" onClick="downloadProject" title="Download project to be opened later">Download Project File</div>
		<div dojoType="dijit.MenuSeparator"></div>
		<div dojoType="dijit.MenuItem" onClick="if(dataStore) dataStore.save();">Save Project</div>
		<div dojoType="dijit.MenuItem" onClick="closeProject" title="Close the current project">Close Project</div>
		<div dojoType="dijit.MenuSeparator"></div>
		<div dojoType="dijit.MenuItem" onclick="editAccount('<?php echo $_SESSION["username"] ?>')" title="Edit account information or delete your account">
			Edit Account
		</div>
		<div dojoType="dijit.MenuItem" onclick="location='logout.php'">Logout</div>
	</div>
</div>
<div dojoType="dijit.PopupMenuBarItem">
	<span>Edit</span>
	<div dojoType="dijit.Menu" class="nihilo">
		<div dojoType="dijit.MenuItem" onClick="alert('Not yet implemented: Undo')">Undo</div>
		<div dojoType="dijit.MenuItem" onClick="alert('Not yet implemented: Redo')">Redo</div>
		<div dojoType="dijit.MenuSeparator"></div>
		<div dojoType="dijit.MenuItem" onclick="if(componentFocusManager) componentFocusManager.unfocus()">Remove Focus</div>
		<div dojoType="dijit.MenuItem" onclick="if(componentFocusManager) componentFocusManager.moveToFront()">Move To Front</div>
		<div dojoType="dijit.MenuItem" onclick="if(componentFocusManager) componentFocusManager.moveToBack()">Move To Back</div>
	</div>
</div>
<div dojoType="dijit.PopupMenuBarItem">
	<span>Help</span>
	<div dojoType="dijit.Menu" class="nihilo">
		<div dojoType="dijit.MenuItem" onclick="showHelp();">Help Contents</div>
		<div dojoType="dijit.MenuItem" onclick="showGettingStarted();">Getting Started</div>
		<div dojoType="dijit.MenuItem" onclick="showUMLResources();">UML Resources</div>
		<div dojoType="dijit.MenuSeparator"></div>
		<div dojoType="dijit.MenuItem" onclick='showAbout();'>
			About UML WebStudio
		</div>
	</div>
</div>
<div dojoType="dijit.PopupMenuBarItem">
	<span>Dev</span>
	<div dojoType="dijit.Menu" class="nihilo">
		<div dojoType="dijit.MenuItem" onclick="viewTodo()">View To Do List</div>
		<div dojoType="dijit.MenuItem" onclick="viewBugs()">View Bugs List</div>
		<div dojoType="dijit.MenuItem" onclick="viewSched()">View Schedule</div>
		<div dojoType="dijit.MenuSeparator"></div>
		<div dojoType="dijit.MenuItem" onclick="viewDBTable()">Table Viewer</div>
		<div dojoType="dijit.MenuItem" onclick="viewJSON()">JSON Viewer</div>
	</div>
</div>
